package com.xjh.basestudy.designmode.structureMode.structureMode1_Facade;

/**
 * @Author XuJianHua
 * @Date 2022/9/24 23:23
 * @Description 做饭
 */
public class Helper {
    public void cook(){
        System.out.println("下厨烹饪");
    }
}
/*
 public class Client{

     public void eat(){
         System.out.println("开始用餐……");
     }

     public void wash(){
         System.out.println("洗碗……");
     }

     public static void main(String[] args) {
         //找蔬菜商买菜
         VegVendor vegVendor = new VegVendor();
         vegVendor.purchase();
         //找妹妹下厨
         Helper sister = new Helper();
         sister.cook();
         //客户端用餐
         Client client = new Client();
         client.eat();
         //最后还得洗碗，确实有点麻烦
         client.wash();
     }
 }
*/